package com.didispace.bean;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import lombok.Data;

@Data
@Component
public class Book {

	@Value("${book.name}")
	private String name;
	@Value("${book.author}")
	private String author;
}
